package org.example.bigdata.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName hotspots
 */
@TableName(value ="hotspots")
@Data
public class Hotspots implements Serializable {
    /**
     * 热点标题的id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 热点标题的名称
     */
    @TableField(value = "name")
    private String tag;

    /**
     * 热点标题的点击数量
     */
    @TableField(value = "number")
    private Integer postCount;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}